package com.javasm.sys;

import java.util.List;

public interface TasksService {

    List<SysTimingTask> getRunningTasks();


    boolean stopTask(String taskid);

    boolean startTask(String taskid);

    SysTimingTask getById(String taskid);


    List<SysTimingTask> getTasks(SysTimingTask sysTimingTask);

    Integer updateTaskById(SysTimingTask sysTimingTask);

    Integer delTaskById(String taskId);

    Integer addTask(SysTimingTask sysTimingTask);
}

